import {Result} from "$/shared";

export type RequireAdapter<T> = (url: string, body?: Record<string, any>) => Promise<Result<T>>;